﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml;
using System.Xml.Serialization;
using Users;
using Lists;
using Sim;

namespace Users
{
    [Serializable()]
    public class Judge : User
    {

        public int score { get; set; }

        public Judge()
            : base()
        {
        }

        /// <summary>
        /// Constructor with arguments
        /// </summary>
        /// <param name="name"></param>
        /// <param name="nation"></param>
        /// <param name="sex"></param>
        /// <param name="type"></param>
        /// <param name="username"></param>
        /// <param name="password"></param>
        public Judge(string firstName, string lastName, int age, string nation, string sex, int level, string username, string password)
            : base(firstName, lastName, age, nation, sex, level, username, password)
        {
        }

        /// <summary>
        /// Sends the judges's points for further calculations
        /// </summary>
        public void sendScore()
        {
            //Sends score to the other judges and the main program
        }

    }
}
